package sources;

public class SourceThread extends Thread {

	private RandomSource randomSource = null;
	private long stopTime = 0;
	
	public SourceThread(RandomSource randomSource, long stopTime) {
		this.randomSource = randomSource;
		this.stopTime = stopTime;
	}

	public void run(){
		randomSource.beginGenerating(stopTime);
	}
	
}
